<template>
  <cml-module :moduleName="$t('cmlpanel.layout')" icon="buju" v-bind="$attrs">
    <!-- <auxiliary></auxiliary> -->
    <component
      v-for="(name, index) in $_auth"
      :key="index"
      :is="name"
    ></component>
  </cml-module>
</template>
<script>
import { Switch } from 'ant-design-vue'
import CmlModule from '../cml-module'
import CustomLayout from './customLayout'
import Auxiliary from './auxiliary.vue'
export default {
  name: 'Layout',
  components: {
    ASwitch: Switch,
    CmlModule,
    CustomLayout,
    Auxiliary
  },
  model: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  beforeDestroy() {},
  methods: {}
}
</script>
<style lang="scss" scoped>
@import '@/assets/css/sys-style/panel-var.scss';
@import '@/assets/css/sys-style/panel-mixin.scss';
</style>
